
	<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8"><title>文章标题</title>
</head>
<body>
<p>文章内容</p>
<p><img src="http://dkla.gitee.io/third_assignments/images/p1.jpg" alt="test"></p>
</body>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
   wx.config({
   	debug: false,
   	appId: '<?php echo $signPackage["appId"];?>',
   	timestamp: <?php echo $signPackage["timestamp"];?>,
   	nonceStr: '<?php echo $signPackage["nonceStr"];?>',
   	signature: '<?php echo $signPackage["signature"];?>',
   	jsApiList: [
      // 所有要调用的 API 都要加到这个列表中
      'onMenuShareTimeline',
      'onMenuShareAppMessage'
      ]
  });
   wx.ready(function () {
    // 在这里调用 API
    wx.onMenuShareTimeline({
        title: '文章标题',
        link: 'http://dkla.gitee.io/third_assignments/images',
        imgUrl: 'http://dkla.gitee.io/third_assignments/images/p1.jpg'
    });
    });
});
</script>
</html>